package com.ms.education.acl.mapper;

import com.ms.education.acl.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限 Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-02-18
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> permissionValueList(Integer userId);

    List<Permission> getUserMenu(Integer userId);

    List<String> getPermissionByRoleName(String roleName);
}
